-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for snapshots in certain use cases #4514
Conversation
|
||
// Install the ctrl-c handler | ||
#[cfg(feature = "ctrlc")] | ||
if attach_ctrl_c { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Putting this logic here in the runner seems a bit hacky to me, can't we do this on the outside without having to smush it into the runner?
Isn't it enough to be in the CLI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's also in the runner (which is in the CLI) - however there is another code path left in the CLI which does not use the runner and hence comes down this path. The fix is to unify the code of both into one, that's quite a bit more work than this patch.
No description provided.